    %if art_mode == 'template':
    <link rel="stylesheet" href="/_paneo/common/codemirror/lib/codemirror.css">
    <script src="/_paneo/common/codemirror/lib/codemirror.js"></script>
    <script src="/_paneo/common/codemirror/mode/xml/xml.js"></script>
    <script src="/_paneo/common/codemirror/mode/javascript/javascript.js"></script>
    <script src="/_paneo/common/codemirror/mode/css/css.js"></script>
    <script src="/_paneo/common/codemirror/mode/htmlmixed/htmlmixed.js"></script>
    <style>
    .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}
    .CodeMirror-scroll {
      overflow: auto;
      height: auto; overflow: visible;
      position: relative;
      outline: none;
      height: 600px;
    }
    </style>

    <div class="control-group">
    <%include file="_templatefile.html" args="temp_type='article',temp_prefix=post.article.template_set"/>
    </div>

    <h3>HTML TEMPLATE (注意：テンプレート内容の変更は記事全体で共有されています）</h3> 
    <textarea id="HTMLTEMPLATE" name="HTMLTEMPLATE" class="input-xlarge" >${html_file|h}</textarea>
    <span class="help-inline">FILE:${post.template}.html</span>

    </div>
    %endif

